<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Dart : Libraries : box2d : Contact</title>
</head>

<body>

<header></header>

<h1 id="title">class <a name='Contact::Contact'>Contact</a></h1>

<section id="inheritance">

<section class="supertype">
<h2>Supertype:</h2>
<ul><li>Object</li></ul>
</section>

<section class="subtypes">
<h2>Subtypes:</h2>
<ul>
<li><a href='CircleContact.html#CircleContact::CircleContact'>CircleContact</a></li>
<li><a href='PolygonAndCircleContact.html#PolygonAndCircleContact::PolygonAndCircleContact'>PolygonAndCircleContact</a></li>
<li><a href='PolygonContact.html#PolygonContact::PolygonContact'>PolygonContact</a></li>
</ul>
</section>

</section>

<section id="summary">

 This class defines contact between two shapes.
</section>

<section id="fields">
<h2>Fields</h2>
<dl>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Contact::BULLET_HIT_FLAG'>BULLET_HIT_FLAG
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Contact::ENABLED_FLAG'>ENABLED_FLAG
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Contact::FILTER_FLAG'>FILTER_FLAG
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Contact::ISLAND_FLAG'>ISLAND_FLAG
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Contact::TOUCHING_FLAG'>TOUCHING_FLAG
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='ContactEdge.html#ContactEdge::ContactEdge'>ContactEdge</a></code></code></span>
<span class="field-name"><code><a name='Contact::edge1'>edge1
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='ContactEdge.html#ContactEdge::ContactEdge'>ContactEdge</a></code></code></span>
<span class="field-name"><code><a name='Contact::edge2'>edge2
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='bool.html#bool::bool'>bool</a></code></code></span>
<span class="field-name"><code><a name='Contact::enabled'>enabled
</a></code></span>
</dt>
<dd>

 Enable/disable this contact. This can be used inside the pre-solve
 contact listener. The contact is only disabled for the current time step
 (or sub-step in continuous collisions).
</dd>
<dt>
<span class="field-type"><code><code><a href='Fixture.html#Fixture::Fixture'>Fixture</a></code></code></span>
<span class="field-name"><code><a name='Contact::fixtureA'>fixtureA
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Fixture.html#Fixture::Fixture'>Fixture</a></code></code></span>
<span class="field-name"><code><a name='Contact::fixtureB'>fixtureB
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Contact::flags'>flags
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Manifold.html#Manifold::Manifold'>Manifold</a></code></code></span>
<span class="field-name"><code><a name='Contact::manifold'>manifold
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Contact.html#Contact::Contact'>Contact</a></code></code></span>
<span class="field-name"><code><a name='Contact::next'>next
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='DefaultWorldPool.html#DefaultWorldPool::DefaultWorldPool'>DefaultWorldPool</a></code></code></span>
<span class="field-name"><code><a name='Contact::pool'>pool
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Contact.html#Contact::Contact'>Contact</a></code></code></span>
<span class="field-name"><code><a name='Contact::prev'>prev
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='Contact::toiCount'>toiCount
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='bool.html#bool::bool'>bool</a></code></code></span>
<span class="field-name"><code><a name='Contact::touching'>touching
</a></code></span>
</dt>
<dd>

 Is this contact touching
</dd>
</dl>
</section>

<section id="constructors">
<h2>Constructors</h2>
<dl>
<dt>
<code><a href='Contact.html#Contact::Contact'>Contact</a>(<code><a href='DefaultWorldPool.html#DefaultWorldPool::DefaultWorldPool'>DefaultWorldPool</a></code> <a name='Contact::::pool'>pool</a>)</code>
</dt>
<dd>
</dd>
</dl>
</section>

<section id="methods">
<h2>Methods</h2>
<dl>
<dt>
<code>void <a name='Contact::evaluate'>evaluate</a>(<code><a href='Manifold.html#Manifold::Manifold'>Manifold</a></code> <a name='Contact::evaluate::argManifold'>argManifold</a>, <code><a href='Transform.html#Transform::Transform'>Transform</a></code> <a name='Contact::evaluate::xfA'>xfA</a>, <code><a href='Transform.html#Transform::Transform'>Transform</a></code> <a name='Contact::evaluate::xfB'>xfB</a>)</code></dt>
<dd>
 Abstract method. </dd>
<dt>
<code>void <a name='Contact::flagForFiltering'>flagForFiltering</a>()</code></dt>
<dd>

 Flag this contact for filtering. Filtering will occur the next time step.
</dd>
<dt>
<code>void <a name='Contact::getWorldManifold'>getWorldManifold</a>(<code><a href='WorldManifold.html#WorldManifold::WorldManifold'>WorldManifold</a></code> <a name='Contact::getWorldManifold::worldManifold'>worldManifold</a>)</code></dt>
<dd>

 Intializes the given world manifold.
</dd>
<dt>
<code>void <a name='Contact::init'>init</a>(<code><a href='Fixture.html#Fixture::Fixture'>Fixture</a></code> <a name='Contact::init::fixA'>fixA</a>, <code><a href='Fixture.html#Fixture::Fixture'>Fixture</a></code> <a name='Contact::init::fixB'>fixB</a>)</code></dt>
<dd>

 Initialization for pooling.
</dd>
<dt>
<code>void <a name='Contact::update'>update</a>(<code><a href='ContactListener.html#ContactListener::ContactListener'>ContactListener</a></code> <a name='Contact::update::listener'>listener</a>)</code></dt>
<dd>
</dd>
</dl>
</section>

<footer></footer>

</body></html>
